

<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib prefix="sjr" uri="/struts-jquery-richtext-tags"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>


<s:if test="#session.user.role == 0">
	<c:redirect url="index" />
</s:if>


<s:form id="formulaire" action="publie" theme="css_xhtml">
	<s:hidden name="escape" value="false" />
	<s:url id="remoteurl" action="no" />
	<!--  recupère le contenu de la page no.jsp  href="%{remoteurl}"  -->
	<sjr:tinymce id="richtextTinymceAdvancedEditor"
		name="utilisateur.contenuPublication" rows="10" cols="80" width="900"
		editorLocal="fr" editorTheme="advanced" editorSkin="o2k7"
		toolbarAlign="left" toolbarLocation="top" statusbarLocation="bottom"
		resizable="true" pastePlainText="true"
		plugins="safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template"
		toolbarButtonsRow1="save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect"
		toolbarButtonsRow2="cut,copy,pastetext,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor"
		toolbarButtonsRow3="tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen"
		toolbarButtonsRow4="insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage"
		onSaveTopics="submitRichtextForm" height="500" />
	<br />
	<sj:submit id="formSubmit" value="%{getText('publication.publish')}"
		button="true" />
</s:form>

